import threading


class CPU(threading.Thread):    
    def __init__(self, clock, scheduler, quantum, memoryManager):
        threading.Thread.__init__(self)
        self.quantum = quantum
        self.scheduler = scheduler
        self.memoryManager = memoryManager
        clock.register(self)

    def tick(self, event):
        print('CPU Tick tock !')
#        pcb = self.scheduler.getPcb();
#        instruccion = self.memoryManager.get(pcb.getInstruccionEjecutar())
#        pcb.incrementarPC()        
